package com.goldfish666.remote_control.dto.tv;

import com.goldfish666.remote_control.entity.tv.TV;
import com.tuyang.beanutils.annotation.BeanCopySource;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@BeanCopySource(source = TV.class)
public class TVDTO implements Serializable {

    protected String id;

    /**
     * 设备名称
     */
    private String name;

    /**
     * key
     */
    private String key;

    /**
     * 密钥，和key一起绑定设备和人
     */
    private String privacy;

    private TVModelDTO model;
}
